/* registerAndLogin.css */

/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    margin-top: 0;
    /* 移除原有的 margin-top */
}

/* 表单样式 */
.user-form-part {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-control {
    width: 100%;
    max-width: 350px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    background-color: #43aa48;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* 图标样式 */
.form-icon {
    width: 60%;
    height: 50px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 布局调整 */
.user-form-title {
    text-align: center;
    margin-bottom: 20px;
}

.user-form-remind {
    text-align: center;
    margin-top: 20px;
}

.user-form-footer {
    text-align: center;
    margin-top: 20px;
}

/* 新增或修改 Logo 居中样式 */
.user-form-logo {
    text-align: center;
    /* 确保 Logo 水平居中 */
}

/* 新增或修改 忘记密码模块居中样式 */
.form-button {
    text-align: center;
    /* 确保“忘记密码”链接水平居中 */
}